<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改【请填写功能名称】')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-type-edit" th:object="${plMatchType}">
            <input name="id" th:field="*{id}" type="hidden">
            <div class="form-group">
                <label class="col-sm-3 control-label">游戏名称：</label>
                <div class="col-sm-8">
                    <div class="radio-box" th:each="dict : ${@dict.getType('game_name_arr')}">
                        <input type="radio" th:id="${'gameName_' + dict.dictCode}" name="gameName" th:value="${dict.dictValue}" th:field="*{gameName}">
                        <label th:for="${'gameName_' + dict.dictCode}" th:text="${dict.dictLabel}"></label>
                    </div>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">赔率类型：</label>
                <div class="col-sm-8">
                    <div class="radio-box" th:each="dict : ${@dict.getType('match_order_type')}">
                        <input type="radio" th:id="${'matchOrderType_' + dict.dictCode}" name="matchOrderType" th:value="${dict.dictValue}" th:field="*{matchOrderType}">
                        <label th:for="${'matchOrderType_' + dict.dictCode}" th:text="${dict.dictLabel}"></label>
                    </div>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">赔率字段名：</label>
                <div class="col-sm-8">
                    <input name="matchType" th:field="*{matchType}" class="form-control" type="text">
                    <!--<select name="matchType" class="form-control m-b">-->
                        <!--<option value="">所有</option>-->
                    <!--</select>-->
                    <!--<span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>-->
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">赔率中文名：</label>
                <div class="col-sm-8">
                    <input name="matchTypeCh" th:field="*{matchTypeCh}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">雷电竞赔率字段名：</label>
                <div class="col-sm-8">
                    <input name="ldjMatchName" th:field="*{ldjMatchName}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">雷电竞场次：</label>
                <div class="col-sm-8">
                    <input name="ldjOrder" th:field="*{ldjOrder}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">亚博赔率字段名：</label>
                <div class="col-sm-8">
                    <input name="ybMatchName" th:field="*{ybMatchName}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">亚博场次：</label>
                <div class="col-sm-8">
                    <input name="ybOrder" th:field="*{ybOrder}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">雷火赔率字段名：</label>
                <div class="col-sm-8">
                    <input name="lhMatchName" th:field="*{lhMatchName}" class="form-control" type="text">
                </div>
            </div>
           <!-- <div class="form-group">
                <label class="col-sm-3 control-label">雷火场次类型：</label>
                <div class="col-sm-8">
                    <input name="lhOrderType" th:field="*{lhOrderType}" class="form-control" type="text">
                    &lt;!&ndash;<select name="lhOrderType" class="form-control m-b">
                        <option value="">所有</option>
                    </select>&ndash;&gt;
                    &lt;!&ndash;<span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>&ndash;&gt;
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">雷火场次：</label>
                <div class="col-sm-8">
                    <input name="lhOrder" th:field="*{lhOrder}" class="form-control" type="text">
                </div>
            </div>-->
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script type="text/javascript">
        var prefix = ctx + "system/type";
        $("#form-type-edit").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/edit", $('#form-type-edit').serialize());
            }
        }
    </script>
</body>
</html>